<style>
    .brand_add_more {
        width: 300px;
        float: left;
        margin: 10px 0;
    }
</style>
<div class="hp-tab-newprd">
    <ul class="j-sw-nav">
        <li class="newprd-s1 tab-li"><a href="<?php echo base_path();?>brand_sales/list">查看</a></li>
        <?php if(user_access('add brand_sales')){?>
        <li class="newprd-s2 tab-li"><a href="<?php echo base_path();?>brand_sales/add">添加</a></li>
        <li class="newprd-s3 tab-li<?php if(arg(1) == 'add_more'){?> on <?php }?>"><a href="<?php echo base_path();?>brand_sales/add_more">批量添加</a></li>
        <?php } if(user_access('view brand_sales stats')){?>
        <li class="newprd-s4 tab-li"><a href="<?php echo base_path();?>brand_sales/stats">统计</a></li>
        <?php }
        if(arg(1) == 'edit' && !empty(arg(2))){?>
            <li class="newprd-s5 tab-li on"><a href="javascript:void(0)">修改</a></li>
        <?php }?>
    </ul>
    <div class="table-div" >
        <?php  print _address_render_for_add($form)?>
        <div class="small-select small-input column" style="clear:both">
            <div class="small-div"><div class="form-label"><span class="required">*</span>年份:</div><?php print render($form['year']); ?></div>
        </div>
        <div class="brand_add_more" style="clear: both">
            <div class="small-select small-input column" style="clear:both">
                <div class="small-div"><div class="form-label">品牌:</div><?php print render($form['brand_1']); ?></div>
            </div>
            <div class="small-select small-input column" style="clear:both">
                <div class="form-label">销售量（万吨）:</div><?php print render($form['sales_1']); ?>
            </div>
        </div>
        <div class="brand_add_more">
            <div class="small-select small-input column" style="clear:both">
                <div class="small-div"><div class="form-label">品牌:</div><?php print render($form['brand_2']); ?></div>
            </div>
            <div class="small-select small-input column" style="clear:both">
                <div class="form-label">销售量（万吨）:</div><?php print render($form['sales_2']); ?>
            </div>
        </div>
        <div class="brand_add_more">
            <div class="small-select small-input column" style="clear:both">
                <div class="small-div"><div class="form-label">品牌:</div><?php print render($form['brand_3']); ?></div>
            </div>
            <div class="small-select small-input column" style="clear:both">
                <div class="form-label">销售量（万吨）:</div><?php print render($form['sales_3']); ?>
            </div>
        </div>
        <div class="brand_add_more">
            <div class="small-select small-input column" style="clear:both">
                <div class="small-div"><div class="form-label">品牌:</div><?php print render($form['brand_4']); ?></div>
            </div>
            <div class="small-select small-input column" style="clear:both">
                <div class="form-label">销售量（万吨）:</div><?php print render($form['sales_4']); ?>
            </div>
        </div>
        <div class="brand_add_more">
            <div class="small-select small-input column" style="clear:both">
                <div class="small-div"><div class="form-label">品牌:</div><?php print render($form['brand_5']); ?></div>
            </div>
            <div class="small-select small-input column" style="clear:both">
                <div class="form-label">销售量（万吨）:</div><?php print render($form['sales_5']); ?>
            </div>
        </div>
        <div class="brand_add_more">
            <div class="small-select small-input column" style="clear:both">
                <div class="small-div"><div class="form-label">品牌:</div><?php print render($form['brand_6']); ?></div>
            </div>
            <div class="small-select small-input column" style="clear:both">
                <div class="form-label">销售量（万吨）:</div><?php print render($form['sales_6']); ?>
            </div>
        </div>
        <div class="brand_add_more">
            <div class="small-select small-input column" style="clear:both">
                <div class="small-div"><div class="form-label">品牌:</div><?php print render($form['brand_7']); ?></div>
            </div>
            <div class="small-select small-input column" style="clear:both">
                <div class="form-label">销售量（万吨）:</div><?php print render($form['sales_7']); ?>
            </div>
        </div>
        <div class="brand_add_more">
            <div class="small-select small-input column" style="clear:both">
                <div class="small-div"><div class="form-label">品牌:</div><?php print render($form['brand_8']); ?></div>
            </div>
            <div class="small-select small-input column" style="clear:both">
                <div class="form-label">销售量（万吨）:</div><?php print render($form['sales_8']); ?>
            </div>
        </div>
        <div class="brand_add_more">
            <div class="small-select small-input column" style="clear:both">
                <div class="small-div"><div class="form-label">品牌:</div><?php print render($form['brand_9']); ?></div>
            </div>
            <div class="small-select small-input column" style="clear:both">
                <div class="form-label">销售量（万吨）:</div><?php print render($form['sales_9']); ?>
            </div>
        </div>
        <div class="brand_add_more">
            <div class="small-select small-input column" style="clear:both">
                <div class="small-div"><div class="form-label">品牌:</div><?php print render($form['brand_10']); ?></div>
            </div>
            <div class="small-select small-input column" style="clear:both">
                <div class="form-label">销售量（万吨）:</div><?php print render($form['sales_10']); ?>
            </div>
        </div>
        <div class="add-submit" style="text-align: center"><?php print render($form['submit']); ?></div>
    </div>
</div>
</div>

<?php print drupal_render_children($form); ?>

